package com.lequ.monitor.handler;

import com.lequ.monitor.service.LocationService;

import android.os.Handler;
import android.os.Message;

public class LocationHandler extends Handler{

	LocationService service;
	
	public LocationHandler(LocationService service){
		this.service=service;
	}

	@Override
	public void handleMessage(Message msg) {
		new Thread(){
			public void run(){
				if (service.mLocClient != null){
					service.mLocClient.requestOfflineLocation();
				}
			}
		}.start();
	}
	
	
}
